﻿using System;
namespace ChinaSoft.Model
{
	/// <summary>
	/// 主发票表
	/// </summary>
	[Serializable]
	public partial class Model_tb_MidSoft_FinanceMainInvoice
	{
		public Model_tb_MidSoft_FinanceMainInvoice()
		{}
		#region Model
		private int _maininvoiceid;
		private int _projectinfoid;
		private int _contractid;
		private string _customer;
		private string _invoicenumber;
		private DateTime _invoicedate;
		private string _receiveman;
		private decimal _invoicemoney;
		private string _createuser;
		private string _createdepartment;
		private DateTime _createdate;
		private int _createuserid;
		private string _state= "0";
		/// <summary>
		/// 主发票ID
		/// </summary>
		public int MainInvoiceId
		{
			set{ _maininvoiceid=value;}
			get{return _maininvoiceid;}
		}
		/// <summary>
		/// 项目ID
		/// </summary>
		public int ProjectInfoId
		{
			set{ _projectinfoid=value;}
			get{return _projectinfoid;}
		}
		/// <summary>
		/// 合同ID
		/// </summary>
		public int ContractId
		{
			set{ _contractid=value;}
			get{return _contractid;}
		}
		/// <summary>
		/// 客户单位
		/// </summary>
		public string Customer
		{
			set{ _customer=value;}
			get{return _customer;}
		}
		/// <summary>
		/// 发票编号
		/// </summary>
		public string InvoiceNumber
		{
			set{ _invoicenumber=value;}
			get{return _invoicenumber;}
		}
		/// <summary>
		/// 开票日期
		/// </summary>
		public DateTime InvoiceDate
		{
			set{ _invoicedate=value;}
			get{return _invoicedate;}
		}
		/// <summary>
		/// 接收人
		/// </summary>
		public string ReceiveMan
		{
			set{ _receiveman=value;}
			get{return _receiveman;}
		}
		/// <summary>
		/// 开票金额
		/// </summary>
		public decimal InvoiceMoney
		{
			set{ _invoicemoney=value;}
			get{return _invoicemoney;}
		}
		/// <summary>
		/// 开票人
		/// </summary>
		public string CreateUser
		{
			set{ _createuser=value;}
			get{return _createuser;}
		}
		/// <summary>
		/// 开票部门
		/// </summary>
		public string CreateDepartment
		{
			set{ _createdepartment=value;}
			get{return _createdepartment;}
		}
		/// <summary>
		/// 记录创建日期
		/// </summary>
		public DateTime CreateDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 记录创建人
		/// </summary>
		public int CreateUserId
		{
			set{ _createuserid=value;}
			get{return _createuserid;}
		}
		/// <summary>
		/// 0为票单收款未完成，1为票单收款已完成
		/// </summary>
		public string State
		{
			set{ _state=value;}
			get{return _state;}
		}
		#endregion Model

	}
}

